<html xmlns:th="http://www.thymeleaf.org">

<div th:fragment="common-css">
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta content="Coderthemes" name="author"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <link href="/back/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="/back/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/back/css/style.min.css" rel="stylesheet" type="text/css"/>
    <link href="/back/css/sweetalert2.min.css" rel="stylesheet"/>
    <link href="/back/css/boossty.css" rel="stylesheet" />


</div>




<div th:fragment="common-js">
    <script src="/back/js/html5shiv.js"></script>
    <script src="/back/js/respond.min.js"></script>
    <script src="/assets/js/jquery.min.js"></script>
    <script src="/back/js/bootstrap.js"></script>
    <script src="/back/js/sweetalert2.min.js"></script>
    <script src="/back/js/jquery.app.js"></script>
    <script src="/back/js/base.js"></script>

</div>

<div th:fragment="header-menu(tag)">
    <div>
        <div class="topbar">
            <div class="topbar-left">
                <div class="text-center p-t-10" style="margin: 0 auto;">
                    <div class="pull-left" style="padding-left: 10px;">
                        <a href="/">

                        </a>
                    </div>
                    <div class="pull-left" style="padding-left: 10px;">
                        <span style="font-size: 28px; color: #2f353f; line-height: 50px;">图书管理系统</span>
                    </div>

                    <div class="navbar‐menu">
                        <a href="logout" th:if = "${@loginUtil.isLogin()}">退出</a>
                        <a href="login" th:unless="${@loginUtil.isLogin()}">登录</a>
                    </div>

                </div>
            </div>
            <div class="navbar navbar-default" role="navigation">
                <div class="container">
                    <div class="">
                        <div class="pull-left">

                            <span class="clearfix"></span>
                        </div>

                        <ul class="nav navbar-nav navbar-right pull-right">
                            <li class="dropdown">

                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div class="left side-menu">
            <div class="sidebar-inner slimscrollleft">
                <div id="sidebar-menu">
                    <ul>
                        <li class="active">
                            <a href="/books"
                               class="waves-effect " ><i
                                    class="fa fa-dashboard" aria-hidden="true"></i><span> 书籍管理 </span></a>
                        </li>
                        <li>
                            <a href="/bookCategroy"
                               class="waves-effect" ><i
                                    class="fa fa-pencil-square-o" aria-hidden="true"></i><span> 类别管理 </span></a>
                        </li>
                        <li>
                            <a href="/bookStatus"
                               class="waves-effect"><i
                                    class="fa fa-tags" aria-hidden="true"></i><span>书籍状态</span> </a>
                        </li>
                        <li>
                            <a href="/publisher"
                               class="waves-effect" ><i
                                    class="fa fa-list" aria-hidden="true"></i><span> 出版社管理 </span></a>
                        </li>
                        <li>
                            <a href="/userManage"
                               class="waves-effect">
                                <i class="fa fa-comments" aria-hidden="true"></i><span> 用户管理 </span></a>
                        </li>
<!--                        <li>-->
<!--                            <a class="waves-effect">-->
<!--                                <i class="fa fa-tags" aria-hidden="true"></i><span> 分类/标签 </span></a>-->
<!--                        </li>-->

<!--                        <li>-->
<!--                            <a href="/admin/setting" class="waves-effect">-->
<!--                                    <i class="fa fa-gear" aria-hidden="true"></i><span> 系统设置 </span></a>-->
<!--                        </li>-->
                    </ul>
                    <div class="clearfix"></div>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
    </div>
</div>

<div th:fragment="foter">
<!--    <footer class="footer text-right">-->
<!--        <time class="comment-time">2024</time> © <a target="_blank">CrazyStone</a><div class=""></div>-->
<!--    </footer>-->
</div>